package com.qzxy.premiumhotelsystem.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "RoomTypesDTO")
public class RoomTypesDTO implements Serializable {



    @Schema(description = "房间类型",required = true)
    @NotBlank(message = "房间类型不能为空")
    private String roomType;

    @Schema(description = "房间价格",required = true)
    @NotNull(message = "房间价格不能为空")
    private BigDecimal price;

    private String description;

    private String roomUrl;

    private Integer isAdvice;

    private static final long serialVersionUID = 1L;
}